.form-login {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 420px;
    height: 300px;
    background-color: rgba(224, 205, 205, 0.2);
    padding: 50px 20px 50px 20px;
}

body {
    background-image: url(/static/img/loginbak.jpg);
    background-repeat: no-repeat;
}

.alert-danger {
    position: absolute;
    top: 20%;
    width: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}